import Vue from "vue";
import App from "./App";
import http from "./common/http.js";
import util from "./common/util.js";
import message from "./common/message.js";
import store from "./common/store.js";

Vue.config.productionTip = false;
Vue.prototype.http = http;
Vue.prototype.util = util;
Vue.prototype.message = message;
Vue.prototype.store = store;

import home from './pages/home/home.vue';
Vue.component('home',home);

import price from './pages/price/price.vue';
Vue.component('price',price);

import produce from './pages/produce/produce.vue';
Vue.component('produce',produce);

import about from './pages/about/about.vue';
Vue.component('about',about);

import category from './components/category.vue';
Vue.component('category', category);

import bgVideo from "./components/bg-video.vue";
Vue.component('bg-video',bgVideo);

App.mpType = "app";

const app = new Vue({
    ...App
});
app.$mount();
